package com.ctshk.rpc.iotc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel(value="OperationLogDTO", description="营运中心日志操作DTO")
public class OperationLogDTO implements Serializable {

    private static final long serialVersionUID = 1849632832665735350L;
    @ApiModelProperty(value = "操作时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime localDateTime;

    @ApiModelProperty(value = "操作人(用户名/部门)")
    private String user;

    @ApiModelProperty(value = "操作类型")
    private String operationType;

    @ApiModelProperty(value = "编辑前")
    private String operationBefore;

    @ApiModelProperty(value = "编辑后")
    private String operationAfter;


}
